@@ -1,3 +1,7 @@ |
||
| 1 |
+$('#target').click ->
|
|
| 2 |
+ $('#memorytoggle').toggleClass 'hidden'
|
|
| 3 |
+ return |
|
| 4 |
+ |
|
| 1 | 5 |
class @AgentShowPage |
| 2 | 6 |
constructor: -> |
| 3 | 7 |
$(".agent-show #show-tabs a[href='#logs'], #logs .refresh").on "click", @fetchLogs
|
@@ -56,4 +60,3 @@ class @AgentShowPage |
||
| 56 | 60 |
|
| 57 | 61 |
$ -> |
| 58 | 62 |
Utils.registerPage(AgentShowPage, forPathsMatching: /^agents\/\d+/) |
| 59 |
- |
@@ -179,8 +179,8 @@ |
||
| 179 | 179 |
</div> |
| 180 | 180 |
|
| 181 | 181 |
|
| 182 |
-<%= javascript_tag do %> |
|
| 183 |
-$( "#target" ).click(function() {
|
|
| 182 |
+<%#= javascript_tag do %> |
|
| 183 |
+<!-- $( "#target" ).click(function() {
|
|
| 184 | 184 |
$("#memorytoggle").toggleClass("hidden");
|
| 185 |
-}); |
|
| 186 |
-<% end %> |
|
| 185 |
+}); --> |
|
| 186 |
+<%#end %> |